package cn.hs.mapper;

import cn.hs.entity.Free;

import java.util.List;

public interface FreeMapper {

    //查询所有并分页与模糊查询
    public List<Free> selectAll(Free free);
    //增加
    public int insert(Free free);
    //修改
    public int update(Free free);
    //删除
    public int delete(Integer id);
    //根据id查询
    public Free selectById(Integer id);
}
